/*
 * @Description:
 *
 * @Author: XiongYaoYuan<xiongyaoyuan>
 * @Date: 2023-05-31 10:48:52
 * @FilePath: /yuxiuproweb/src/api/app/curtains.js
 */
import request from "@/utils/request";

// 查询app_商品_窗幔;列表
export function listCurtains(query) {
  return request({
    url: "/app/curtains/list",
    method: "get",
    params: query,
  });
}

// 查询app_商品_窗幔;详细
export function getCurtains(productWindowCurtainsId) {
  return request({
    url: "/app/curtains/" + productWindowCurtainsId,
    method: "get",
  });
}

// 新增app_商品_窗幔;
export function addCurtains(data) {
  return request({
    url: "/app/curtains",
    method: "post",
    data: data,
  });
}

// 修改app_商品_窗幔;
export function updateCurtains(data) {
  return request({
    url: "/app/curtains",
    method: "put",
    data: data,
  });
}

// 删除app_商品_窗幔;
export function delCurtains(productWindowCurtainsId) {
  return request({
    url: "/app/curtains/" + productWindowCurtainsId,
    method: "delete",
  });
}
